package architect.design.patterns.structural.composite.complex;

import java.util.List;

/**
 * 雇员基类
 *
 * @author guanxin
 * @date 2018/5/5 15:43
 */

public abstract class BaseEmployee implements IEmployee {

    protected String name;
    protected int employeeId;
    protected List<Subscription> subscriptions;

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getEmployeeId() {
        return this.employeeId;
    }

    public void setEmployeeId(int employeeId) {
        this.employeeId = employeeId;
    }

    public List<Subscription> getSubscriptions() {
        return this.subscriptions;
    }

    public void setSubscriptions(List<Subscription> subscriptions) {
        this.subscriptions = subscriptions;
    }
}
